#pragma once
// -------------------------------------------------
// BlinKit - harfbuzz Library
// -------------------------------------------------
//   File Name: _pc.h
// Description: Pre-compiled Header File
//      Author: Ziming Li
//     Created: 2020-12-27
// -------------------------------------------------
// Copyright (C) 2020 MingYang Software Technology.
// -------------------------------------------------

#ifndef BLINKIT_HARFBUZZ__PC_H
#define BLINKIT_HARFBUZZ__PC_H

#include "third_party/zed/include/zed/build_macros.h"

#ifdef _Z_OS_WINDOWS
#   pragma warning(disable: 4244 4267 4819)
#   define _CRT_SECURE_NO_WARNINGS
#endif

#ifdef _Z_OS_APPLE
#   pragma clang diagnostic ignored "-Wambiguous-reversed-operator"
#   pragma clang diagnostic ignored "-Wcomma"
#   pragma clang diagnostic ignored "-Wdocumentation"
#   pragma clang diagnostic ignored "-Wshorten-64-to-32"
#   pragma clang diagnostic ignored "-Wunreachable-code"
#endif

#define HAVE_OT
#define HB_NO_UNICODE_FUNCS

#endif // BLINKIT_HARFBUZZ__PC_H
